package io.renren.modules.generator.service.impl;

import io.renren.modules.generator.entity.SpringLambEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.WinterLambDao;
import io.renren.modules.generator.entity.WinterLambEntity;
import io.renren.modules.generator.service.WinterLambService;



@Service("winterLambService")
public class WinterLambServiceImpl implements WinterLambService {
	@Autowired
	private WinterLambDao winterLambDao;
	
	@Override
	public WinterLambEntity queryObject(Long id){
		return winterLambDao.queryObject(id);
	}
	
	@Override
	public List<WinterLambEntity> queryList(Map<String, Object> map){
		return winterLambDao.queryList(map);
	}

	@Override
	public List<WinterLambEntity> timeList(Map<String, Object> map){
		return winterLambDao.timeList(map);
	}

	@Override
	public int timeTotal(Map<String, Object> map){
		return winterLambDao.timeTotal(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return winterLambDao.queryTotal(map);
	}
	
	@Override
	public void save(WinterLambEntity winterLamb){
		winterLambDao.save(winterLamb);
	}
	
	@Override
	public void update(WinterLambEntity winterLamb){
		winterLambDao.update(winterLamb);
	}
	
	@Override
	public void delete(Long id){
		winterLambDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		winterLambDao.deleteBatch(ids);
	}
	
}
